﻿<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
  "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
  <title>T6502 Op Code Tests - Jasmine</title>

  <link rel="shortcut icon" type="image/png" href="Content/jasmine/jasmine_favicon.png">
  <link rel="stylesheet" type="text/css" href="Content/jasmine/jasmine.css">
  <script type="text/javascript" src="Scripts/jasmine/jasmine.js"></script>
  <script type="text/javascript" src="Scripts/jasmine/jasmine-html.js"></script>

  <!-- include source files here... -->
  <script type="text/javascript" src="Scripts/angular.js"></script>
  <script type="text/javascript" src="Scripts/angular-mocks.js"></script>
  <script type="text/javascript" src="Scripts/jquery-2.0.2.js"></script>
  <script type="text/javascript" src="Scripts/app/app.js"></script>
  <script type="text/javascript" src="Scripts/app/globalConstants.js"></script>
  <script type="text/javascript" src="Scripts/app/services/cpuService.js"></script>    
  <script type="text/javascript" src="Scripts/app/services/displayService.js"></script>
  <script type="text/javascript" src="Scripts/app/services/consoleService.js"></script>
  <script type="text/javascript" src="Scripts/app/emulator/compiler.js"></script>
  <script type="text/javascript" src="Scripts/app/emulator/cpu.js"></script>
  <script type="text/javascript" src="Scripts/app/emulator/opCodes.js"></script>

  <!-- include spec files here... -->
  <script type="text/javascript" src="Scripts/tests/opCodes/adcSpec.js"></script>
  <script type="text/javascript" src="Scripts/tests/opCodes/bitwiseSpecs.js"></script>
  <script type="text/javascript" src="Scripts/tests/opCodes/bitSpec.js"></script>
  <script type="text/javascript" src="Scripts/tests/opCodes/branchSpecs.js"></script>
  <script type="text/javascript" src="Scripts/tests/opCodes/comparisonSpecs.js"></script>
  <script type="text/javascript" src="Scripts/tests/opCodes/decSpecs.js"></script>
  <script type="text/javascript" src="Scripts/tests/opCodes/flagSpecs.js"></script>
  <script type="text/javascript" src="Scripts/tests/opCodes/incSpecs.js"></script>
  <script type="text/javascript" src="Scripts/tests/opCodes/jsrSpec.js"></script>
  <script type="text/javascript" src="Scripts/tests/opCodes/ldaSpec.js"></script>
  <script type="text/javascript" src="Scripts/tests/opCodes/sbcSpec.js"></script>
  <script type="text/javascript" src="Scripts/tests/opCodes/stackSpecs.js"></script>

  <script type="text/javascript">
      (function () {
          var jasmineEnv = jasmine.getEnv();
          jasmineEnv.updateInterval = 1000;

          var htmlReporter = new jasmine.HtmlReporter();

          jasmineEnv.addReporter(htmlReporter);

          jasmineEnv.specFilter = function (spec) {
              return htmlReporter.specFilter(spec);
          };

          var currentWindowOnload = window.onload;

          window.onload = function () {
              if (currentWindowOnload) {
                  currentWindowOnload();
              }
              execJasmine();
          };

          function execJasmine() {
              jasmineEnv.execute();
          }

      })();
  </script>

</head>

<body>
</body>
</html>
